﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CWCS.BLL
{
    public class TaskBLL : BLLBase
    {
        public DataTable GetWCSTaskInfo(int tasktype, int taskstatus, string fromtime, string totime, string wmstaskno, string taskno, string fromstation, string tostation, string barcode, string zoneid)
        {
            return GetWCS_TaskInfo(tasktype, taskstatus, fromtime, totime, wmstaskno, taskno, fromstation, tostation, barcode, zoneid);
        }
        public bool UpdateWCSTaskStatus(string fromstation, string TaskNo, string BarCode, string TaskType, string TaskStatus, string RunStatus)
        {
            return UpdateTaskStatus(fromstation, WareHouseID, TaskNo, BarCode, TaskType, TaskStatus, RunStatus);
        }
        public DataTable GetZoneInfo()
        {
            return GetZoneCode();
        }
        public string  getpswd(string username)
        {
            return wcs_getpswd(username);
        }
        public bool WCSChanageLocInfo(string scno, string barcode, string oldlocationumber, int i_lineblock, int i_locationblock, ref string toStation, ref string errormsg)
        {
            //return WCSChanageLoc(scno, barcode, oldlocationumber, i_lineblock, i_locationblock, ref errormsg);
            return true;
        }
    }
}
